.class public Lcom/estrongs/android/ui/drag/i;
.super Ljava/lang/Object;
.source "SymmetricalLinearTween.java"


# instance fields
.field a:Landroid/os/Handler;

.field b:I

.field c:Lcom/estrongs/android/ui/drag/j;

.field d:Z

.field e:J

.field f:Z

.field g:F

.field h:Ljava/lang/Runnable;


# direct methods
.method public constructor <init>(ZILcom/estrongs/android/ui/drag/j;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/drag/i$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/drag/i$a;-><init>(Lcom/estrongs/android/ui/drag/i;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/drag/i;->h:Ljava/lang/Runnable;

    if-eqz p1, :cond_0

    const/high16 v0, 0x3f800000    # 1.0f

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 3
    :goto_0
    iput v0, p0, Lcom/estrongs/android/ui/drag/i;->g:F

    .line 4
    iput-boolean p1, p0, Lcom/estrongs/android/ui/drag/i;->f:Z

    .line 5
    iput p2, p0, Lcom/estrongs/android/ui/drag/i;->b:I

    .line 6
    iput-object p3, p0, Lcom/estrongs/android/ui/drag/i;->c:Lcom/estrongs/android/ui/drag/j;

    .line 7
    new-instance p1, Landroid/os/Handler;

    invoke-direct {p1}, Landroid/os/Handler;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/ui/drag/i;->a:Landroid/os/Handler;

    return-void
.end method


# virtual methods
.method public a(Z)V
    .locals 2

    .line 1
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide v0

    invoke-virtual {p0, p1, v0, v1}, Lcom/estrongs/android/ui/drag/i;->a(ZJ)V

    return-void
.end method

.method public a(ZJ)V
    .locals 2

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/i;->f:Z

    if-eq p1, v0, :cond_1

    .line 3
    iget-boolean v0, p0, Lcom/estrongs/android/ui/drag/i;->d:Z

    if-nez v0, :cond_0

    .line 4
    iput-wide p2, p0, Lcom/estrongs/android/ui/drag/i;->e:J

    const/4 p2, 0x1

    .line 5
    iput-boolean p2, p0, Lcom/estrongs/android/ui/drag/i;->d:Z

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/ui/drag/i;->c:Lcom/estrongs/android/ui/drag/j;

    invoke-interface {p2}, Lcom/estrongs/android/ui/drag/j;->a()V

    .line 7
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide p2

    const-wide/16 v0, 0x21

    add-long/2addr p2, v0

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/drag/i;->a:Landroid/os/Handler;

    iget-object v1, p0, Lcom/estrongs/android/ui/drag/i;->h:Ljava/lang/Runnable;

    invoke-virtual {v0, v1, p2, p3}, Landroid/os/Handler;->postAtTime(Ljava/lang/Runnable;J)Z

    goto :goto_0

    .line 9
    :cond_0
    invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J

    move-result-wide p2

    .line 10
    iget-wide v0, p0, Lcom/estrongs/android/ui/drag/i;->e:J

    sub-long v0, p2, v0

    add-long/2addr p2, v0

    .line 11
    iget v0, p0, Lcom/estrongs/android/ui/drag/i;->b:I

    int-to-long v0, v0

    sub-long/2addr p2, v0

    iput-wide p2, p0, Lcom/estrongs/android/ui/drag/i;->e:J

    .line 12
    :goto_0
    iput-boolean p1, p0, Lcom/estrongs/android/ui/drag/i;->f:Z

    :cond_1
    return-void
.end method
